%option noyywrap warn

%{
long fix_messages = 0;
%}

%%

\x01"10="          { fix_messages++; }
.                  {}

%%

int main(int argc, const char* argv[])
{
  yylex();
  printf("Fix message counter: %ld\n", fix_messages);
  return 0;
}
